package org.springblade.modules.admin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description 电梯档案-列表
 * @Author ysq
 * @Date 2022/12/28
 **/
@Data
public class ElevatorDossierVO {

	@ApiModelProperty(value = "主键id")
	private Long id;

	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(value = "项目地址")
	private String address;

	@ApiModelProperty(value = "电梯详细地址")
	private String elevatorAddress;

	@ApiModelProperty(value = "项目名称")
	private String buildingName;

	@ApiModelProperty(value = "品牌名称")
	private String brandName;

	@ApiModelProperty(value = "设备id")
	private String privateNum;

	@ApiModelProperty(value = "梯联网设备id")
	private String deviceId;

	@ApiModelProperty(value = "小程序码url")
	private String wxAppCodeUrl;

	private String type;

	@ApiModelProperty(value = "项目类型")
	private String typeName;

	@ApiModelProperty(value = "项目id")
	private Long buildingId;

	@ApiModelProperty(value = "唯一识别码")
	private String elevatorNum;

	/**
	 * 年审类型 0-年审 1-非年审
	 */
	private Integer useType;

	/**
	 * 电梯运行状态 1-正常 2-停梯
	 */
	private Integer isStop;

	private String buildingUserName;
	private String buildingUserNameExt;

	/**
	 * 电梯别名
	 */
	@ApiModelProperty("电梯别名")
	private String elevatorAlias;

	private Integer contractSource;

	private Integer firstContractStatus;

	private Integer contractStatus;

	@ApiModelProperty("单位内编号")
	private String registerNumber;

}
